package dhy.lyb.change.model;

/**
 * UserActivity的扩展类
 * Created by Administrator on 2016/11/30.
 */
public class UserActivity extends UserActivityCustom {

    private int user_id;
    private int activity_id;

    public UserActivity() {
    }

    public UserActivity(int activity_id, int user_id) {
        this.activity_id = activity_id;
        this.user_id = user_id;
    }

    public UserActivity(int id, double uses_energy, Integer uses_times, Integer uses_day, Integer uses_minute, Integer status, int activity_id, int user_id) {
        super(id, uses_energy, uses_times, uses_day, uses_minute, status);
        this.activity_id = activity_id;
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        return "UserActivity{" +
                "activity_id=" + activity_id +
                ", user_id=" + user_id +
                '}';
    }

    public int getActivity_id() {
        return activity_id;
    }

    public void setActivity_id(int activity_id) {
        this.activity_id = activity_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }
}
